/*
 * @Description: 数据库连接池
 * @Date: 2023-06-09 14:46:28
 * @LastEditTime: 2024-04-28 18:05:44
 * @FilePath: \brush-question-node\db\index.js
 */
const mysql = require('mysql')

//连接池
const db = mysql.createPool({
  host: '127.0.0.1',
  user: 'root',
  password: 'wks981016',
  database: 'brush-question',
})

module.exports = db
